var vAliClose = new Vue({
    el: '#aliClose',
    data: function () {
        return {
        	outTradeNo: '',tradeNo:'',
        }
    },
    mounted() {

    },
    methods: {

    	recharge() {
    	    let data = {
    	    		outTradeNo: vAliClose.outTradeNo,
    	            tradeNo: vAliClose.tradeNo,
    	    };
    	    let url = "/alipay/close";
    	    callAjaxPost(url, data, this.submitSuc);
    	},

    	 submitSuc(data) {
    		if(data.obj.code == '10000'){
    			alert('交易已关闭')
    		}
    	}
    	
    }
});




